package com.fs.base.repository;

import java.util.Collection;
import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import com.fs.base.pojo.Menu;

/**
 * @author TiddlerCJ
 */
public interface MenuRepository extends JpaRepository<Menu,String>, JpaSpecificationExecutor<Menu>{
	
	List<Menu> findByIdInOrderByMenuOrderAsc(Collection<Object> parentIds);
}
